VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf.UI Namespace / PdfVisualTool Class / PointsFromViewerSpaceToPageSpace Methods / PointsFromViewerSpaceToPageSpace(VintasoftImage,Point[],PointF[]) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    PointsFromViewerSpaceToPageSpace(VintasoftImage,Point[],PointF[]) Method (PdfVisualTool)
    In This Topic
    Converts points from the image viewer's coordinate space to the PDF page's coordinate space.
    Syntax
    'Declaration
    
    Public Overloads Sub PointsFromViewerSpaceToPageSpace( _
    ByVal viewerSpacePoints
    Points, in the image viewer's coordinate space, to convert.
    As Vintasoft.Imaging.VintasoftImage, _
    ByVal pageSpacePoints
    Converted points, in the PDF page's coordinate space.
    () As System.Drawing.Point, _
    ByVal image
    The image.
    () As System.Drawing.PointF _
    )
    public void PointsFromViewerSpaceToPageSpace(
    Vintasoft.Imaging.VintasoftImage viewerSpacePoints,
    System.Drawing.Point[] pageSpacePoints,
    System.Drawing.PointF[] image
    )
    public: void PointsFromViewerSpaceToPageSpace(
    Vintasoft.Imaging.VintasoftImage* viewerSpacePoints,
    System.Drawing.Point*[]* pageSpacePoints,
    System.Drawing.PointF[]* image
    )
    public:
    void PointsFromViewerSpaceToPageSpace(
    Vintasoft.Imaging.VintasoftImage^ viewerSpacePoints,
    array<System.Drawing.Point^>^ pageSpacePoints,
    array<System.Drawing.PointF>^ image
    )

    Parameters

    viewerSpacePoints
    Points, in the image viewer's coordinate space, to convert.
    pageSpacePoints
    Converted points, in the PDF page's coordinate space.
    image
    The image.
    Exceptions
    ExceptionDescription
    Thrown if viewerSpacePoints.Length != pageSpacePoints.Length.
    Thrown if focused image is not a PDF page.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also